<template>
  <div id="character-story" :class="{ h5: this.$store.state.webType === 'h5' }">
    <el-row :span="24" class="page">
      <!-- 面包屑 -->
      <el-breadcrumb separator-class="el-icon-arrow-right">
        <el-breadcrumb-item :to="{ path: '/' }">{{ $t("home") }} </el-breadcrumb-item>
        <el-breadcrumb-item>{{ $t("sections") }}</el-breadcrumb-item>
        <el-breadcrumb-item>{{ $t("people") }}</el-breadcrumb-item>
      </el-breadcrumb>

      <div class="banner-view">
        <div class="banner-col" @click="$goDetail(bigBanner.id)">
          <div class="scale-view">
            <img
              class="banner-big"
              :src="topNewsList[0].coverImage"
              :alt="$store.state.lang == 'CN' ? bigBanner.title : bigBanner.titleEnglish"
            />
            <div class="scale-banner-title">
              {{ topNewsList[0].title }}
            </div>
          </div>
          <div class="item-content">
            <div class="item-title">
              {{ $store.state.lang == "CN" ? bigBanner.title : bigBanner.titleEnglish }}
            </div>
            <div style="color: rgba(42, 42, 42, 1); font-size: 16px; line-height: 23px">
              {{ topNewsList[0].brief }}
            </div>
            <!-- <div class="content-html" v-html="bigBanner.bannerContent"></div> -->
            <div class="more" @click="$goDetail(bigBanner.id)">{{ $t("more") }} ></div>
          </div>
        </div>
        <div class="two-col">
          <div
            class="two-item"
            v-for="(item, index) in topNewsList.slice(1)"
            :key="index"
            @click="$goDetail(item.id)"
          >
            <div class="scale-view">
              <img class="banner-big" :src="item.coverImage" :alt="item.title" />
            </div>

            <div class="item-content">
              <div class="item-title-top">
                {{ item.title }}
                <!-- {{ $store.state.lang == "CN" ? item.title : item.titleEnglish }} -->
              </div>
              <div class="item-title">
                {{ item.brief }}
                <!-- {{ $store.state.lang == "CN" ? item.title : item.titleEnglish }} -->
              </div>
              <div class="more" @click="$goDetail(item.id)">{{ $t("more") }} ></div>
            </div>
          </div>
        </div>
      </div>

      <el-row :span="24" class="art-row">
        <div class="news_list_box">
          <div class="news_list_title">
            <div>
              <div
                style="
                  position: relative;
                  top: 31px;
                  height: 32px;
                  overflow-wrap: break-word;
                  color: rgba(0, 93, 176, 1);
                  font-size: 25px;
                  font-family: 'SourceHanSansCN-Medium';
                  font-weight: 500;
                  text-align: left;
                  white-space: nowrap;
                  line-height: 48px;
                "
              >
                News List
              </div>
              <el-tabs v-model="activeName" @tab-click="handleClick">
                <el-tab-pane label="All" name="All">
                  <div v-for="(itemList, ind) in artData" :key="ind">
                    <div
                      class="news_list_item1"
                      v-if="itemList.coverImage"
                      @click="$goDetail(itemList.nId)"
                    >
                      <img height="180" width="340" :src="itemList.coverImage" />
                      <div class="new_list_item_right">
                        <div>
                          {{ itemList.title }}
                        </div>
                        <div>
                          September&nbsp;24,&nbsp;2023&nbsp;by&nbsp;Secretariat&nbsp;of&nbsp;WFUCA
                        </div>
                        <div>
                          {{ itemList.brief }}
                        </div>
                      </div>
                    </div>
                    <div class="news_list_item2" v-else @click="$goDetail(itemList.nId)">
                      <div>
                        {{ itemList.title }}
                      </div>
                      <div>
                        September&nbsp;24,&nbsp;2023&nbsp;by&nbsp;Secretariat&nbsp;of&nbsp;WFUCA
                      </div>
                      <div>
                        {{ itemList.brief }}
                      </div>
                    </div>
                  </div>
                </el-tab-pane>
                <el-tab-pane label="WFUCA News" name="WFUCA">
                  <div v-for="(itemList, ind) in artData" :key="ind">
                    <div
                      class="news_list_item1"
                      v-if="itemList.coverImage"
                      @click="$goDetail(itemList.nId)"
                    >
                      <img height="180" width="340" src="../assets/images/news/bottomBan.png" />
                      <div class="new_list_item_right">
                        <div>
                          {{ itemList.title }}
                        </div>
                        <div>
                          September&nbsp;24,&nbsp;2023&nbsp;by&nbsp;Secretariat&nbsp;of&nbsp;WFUCA
                        </div>
                        <div>
                          {{ itemList.brief }}
                        </div>
                      </div>
                    </div>
                    <div class="news_list_item2" v-else @click="$goDetail(itemList.nId, 'news')">
                      <div>
                        {{ itemList.title }}
                      </div>
                      <div>
                        September&nbsp;24,&nbsp;2023&nbsp;by&nbsp;Secretariat&nbsp;of&nbsp;WFUCA
                      </div>
                      <div>
                        {{ itemList.brief }}
                      </div>
                    </div>
                  </div>
                </el-tab-pane>
                <el-tab-pane label="Other News" name="Other">
                  <div v-for="(itemList, ind) in artData" :key="ind">
                    <div
                      class="news_list_item1"
                      v-if="itemList.coverImage"
                      @click="$goDetail(itemList.nId)"
                    >
                      <img height="180" width="340" :src="itemList.coverImage" />
                      <div class="new_list_item_right">
                        <div>
                          {{ itemList.title }}
                        </div>
                        <div>
                          September&nbsp;24,&nbsp;2023&nbsp;by&nbsp;Secretariat&nbsp;of&nbsp;WFUCA
                        </div>
                        <div>
                          {{ itemList.brief }}
                        </div>
                      </div>
                    </div>
                    <div class="news_list_item2" v-else @click="$goDetail(itemList.nId)">
                      <div>
                        {{ itemList.title }}
                      </div>
                      <div>
                        September&nbsp;24,&nbsp;2023&nbsp;by&nbsp;Secretariat&nbsp;of&nbsp;WFUCA
                      </div>
                      <div>
                        {{ itemList.brief }}
                      </div>
                    </div>
                  </div>
                </el-tab-pane>
              </el-tabs>
              <div>
                <span
                  style="position: absolute; right: 214px; top: 61px
                    overflow-wrap: break-word;
                    color: rgba(0, 93, 179, 1);
                    font-size: 18px;
                    font-family: 'SourceHanSansCN-Bold';
                    font-weight: 700;
                    text-align: left;
                    white-space: nowrap;
                    line-height: 27px;cursor:pointer"
                  @click="goPublishEvent"
                  >Publish List</span
                ><span
                  style="
                    position: absolute;
                    right: 101px;
                    top: 65px;
                    font-family: 'SourceHanSansCN-Bold';
                  "
                  ><span style="margin-left: -5px; font-family: SourceHanSansCN-Bold">Total:</span
                  >{{ this.listTotal }}</span
                >
              </div>
            </div>
          </div>
        </div>
      </el-row>
    </el-row>
  </div>
</template>

<script>
import goTop from "../components/goTop";
import HotArticle from "@/components/HotArticle";
import NewBook from "@/components/NewBook";

export default {
  name: "CharacterStory",
  components: {
    goTop,
    HotArticle,
    NewBook,
  },
  data() {
    return {
      activeName: "All",
      busy: true,
      nomore: false,
      gutterWidth: 20,

      // 左侧大图
      bigBanner: {},
      // banner数据
      bannerData: [
        {
          img: "https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/e2b4cd0e137a42fcb83207df3d808eef_mergeImage.png",
          title: "name name name title title name title title name title title",
          content:
            "content content content content,content content content content,content content content content,content content content content",
        },
        {
          img: "https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/e2b4cd0e137a42fcb83207df3d808eef_mergeImage.png",
          title: "name name name title title name title title name title title",
          content:
            "content content content content,content content content content,content content content content,content content content content",
        },
      ],
      // 当前展示的banner index
      currentIndex: 0,
      // {{$t('latest')}}
      bookData: {},
      // 热点文章
      articleData: [],
      // 当前文章列表展示形式
      currentView: "img",
      // 文章列表
      artData: [],
      // 文章总数量
      listTotal: 0,
      maxPage: 1,
      // 文章列表请求信息
      listQuery: {
        pageSize: 10,
        pageNum: 1,
      },
      // 标签
      labelData: [],
      currentLabel: "",
      topNewsList: [],
      newAllList: [],
      newsTagsList: [],
    };
  },
  mounted() {
    if (this.$route.query.token) {
      sessionStorage.setItem("token", this.$route.query.token);
    }
    // this.listQuery.columnId = this.$getPartId(this.$route.path);
    // this.listQuery.menuId = this.$getMenuId(this.$route.path);
    this.getList();
    // // this.getBanner();
    // this.getLabels();
    this.getTopNewsList();
    this.getNewsTags();
  },
  methods: {
    goPublishEvent() {
      this.$router.push("/login");
    },
    handleClick(val, events) {
      if (val.index == 0) {
        delete this.listQuery.dictCode;
      } else if (val.index == 1) {
        this.listQuery.dictCode = this.newsTagsList[0].dictCode;
      } else if (val.index == 2) {
        this.listQuery.dictCode = this.newsTagsList[1].dictCode;
      }
      this.artData = [];
      this.getList();
    },
    async getNewsTags() {
      this.$get(this.$api + "/un/weblable/dicttypenews").then((res) => {
        this.newsTagsList = res.data;
      });
    },
    async getTopNewsList() {
      this.$get(this.$api + "/un/webnews/toplist").then((res) => {
        this.topNewsList = res.data;
      });
    },
    async loadMore() {
      // console.log(
      //   "loadMore",
      //   this.busy || this.listQuery.pageNum >= this.maxPage
      // );
      if (this.busy || this.listQuery.pageNum >= this.maxPage) return;
      this.busy = true;
      this.listQuery.pageNum += 1;
      await this.getList();
    },
    async getList() {
      this.$get(this.$api + "/un/webnews/list", this.listQuery).then((res) => {
        this.artData = [...this.artData, ...res.data.list];
        this.listTotal = res.data.total;
        this.maxPage = res.maxPage;

        let that = this;
        this.$nextTick(() => {
          that.nomore = true;
          setTimeout(() => {
            that.busy = false;
          }, 300);
        });
      });
    },
    changeLabel(id, label) {
      this.listQuery.labelId = id;
      this.listQuery.pageNum = 1;
      this.currentLabel = label;
      this.artData = [];
      this.getList();
    },
    getLabels() {
      this.$get(this.$api + "/cms/web/getLabelByPartId", {
        partId: this.listQuery.columnId,
      }).then((res) => {
        this.labelData = res.data;
      });
    },
    getListMore() {
      this.listQuery.pageNum += 1;
      this.getList();
    },
    getBanner() {
      this.$get(this.$api + "/cms/web/partArticleBanner", {
        menuId: this.listQuery.menuId,
      }).then((res) => {
        res.data.forEach((item) => {
          if (item.bannerName === "左侧大图") {
            this.bigBanner = item;
          } else {
            this.bannerData.push(item);
          }
        });
        //  console.log(res, this.bigBanner, this.bannerData);
      });
    },
    viewTypeChange(type) {
      this.artData = [];
      this.listQuery.pageNum = 1;
      this.getList();
      this.currentView = type;
      this.$nextTick(() => {
        this.$redrawVueMasonry();
      });
    },
  },
};
</script>
<style>
.en #character-story .banner-view .content-html p,
.en #character-story .banner-view .content-html article {
  font-family: "Times New Roman", Times, serif !important;
}
</style>
<style lang="scss" scoped>
#character-story {
  position: relative;
  width: 100%;
  background-color: rgba(15, 0, 0, 0.5);

  &::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url("../assets/images/rwgs-bg.png") no-repeat;
    background-size: 100% auto;
    background-position: center 0;
  }

  .page {
    padding: fh(152vh, pc) fw(80vw, pc) fh(40vh, pc) fw(80vw, pc);
    background: #fff;

    ::v-deep .el-breadcrumb {
      // margin-left: fw(-40vw, pc);
      .el-breadcrumb__inner {
        font-weight: bold;
        color: #fff !important;
        font-size: fh(18vh, pc);
      }
    }
  }

  .art-row {
    display: flex;
    padding-top: fh(28vh, pc);
    width: 100%;
    height: 1000px;
    .news_list_box {
      // background: greenyellow;
      width: 93%;
      margin: 0 auto;

      .news_list_title {
        // background: fuchsia;
        height: fh(35vh, pc);
        .news_list_item1 {
          display: flex;
          margin-bottom: 15px;
          .new_list_item_right {
            padding: 15px;
            div:nth-child(1) {
              height: 30px;
              overflow-wrap: break-word;
              color: rgba(42, 42, 42, 1);
              font-size: 20px;
              font-family: "SourceHanSansCN-Medium";
              font-weight: 500;
              text-align: left;
              white-space: nowrap;
              line-height: 30px;
            }
            div:nth-child(2) {
              height: 14px;
              overflow-wrap: break-word;
              color: rgba(120, 120, 120, 1);
              font-size: 14px;
              font-family: "SourceHanSansCN-Regular";
              font-weight: normal;
              text-align: left;
              white-space: nowrap;
              line-height: 21px;
              margin-top: 13px;
            }
            div:nth-child(3) {
              overflow-wrap: break-word;
              color: rgba(42, 42, 42, 1);
              font-size: 14px;
              font-family: "SourceHanSansCN-Regular";
              font-weight: normal;
              text-align: left;
              line-height: 24px;
              margin-top: 20px;
            }
          }
        }
        .news_list_item2 {
          margin-bottom: 15px;
          div:nth-child(1) {
            height: 30px;
            overflow-wrap: break-word;
            color: rgba(42, 42, 42, 1);
            font-size: 20px;
            font-family: "SourceHanSansCN-Medium";
            font-weight: 500;
            text-align: left;
            white-space: nowrap;
            line-height: 30px;
          }
          div:nth-child(2) {
            height: 14px;
            overflow-wrap: break-word;
            color: rgba(120, 120, 120, 1);
            font-size: 14px;
            font-family: "SourceHanSansCN-Regular";
            font-weight: normal;
            text-align: left;
            white-space: nowrap;
            line-height: 21px;
            margin: 12px 0 25px 0;
          }
          div:nth-child(3) {
            overflow-wrap: break-word;
            color: rgba(42, 42, 42, 1);
            font-size: 14px;
            font-family: "SourceHanSansCN-Regular";
            font-weight: normal;
            text-align: left;
            line-height: 24px;
          }
        }
      }
    }

    .book-content {
      background-color: $fh90;
      padding-bottom: fh(40vh, pc);

      .book-btn {
        display: flex;
        width: 100%;
        align-items: flex-end;
        justify-content: center;

        img {
          width: fw(180vw, pc);

          &:hover {
            cursor: pointer;
            opacity: 0.7;
          }
        }
      }

      .book-row {
        display: flex;
        width: 100%;
        padding: fh(46vh, pc) fw(20vw, pc);
        color: $sh;

        img.book-img {
          width: fw(280vw, pc);
        }

        .book-text {
          padding-left: fw(10vw, pc);

          .view-label {
            color: $zh;
            position: relative;
            display: inline-block;
            font-size: fh(24vh, pc);
            font-weight: 800;
            margin-top: fh(20vh, pc);
            margin-bottom: fh(60vh, pc);

            &::after {
              content: "";
              position: absolute;
              bottom: fh(-16vh, pc);
              right: fw(-12vw, pc);
              width: fw(30vw, pc);
              height: fh(18vh, pc);
              border-right: fw(6vw, pc) solid hsla(14, 74%, 37%, 0.2);
              border-bottom: fw(8vw, pc) solid hsla(14, 74%, 37%, 0.2);
            }
          }

          .text-item {
            padding-bottom: fh(30vh, pc);

            .item-title {
              color: $sh;
              font-size: fh(18vh, pc);
              font-weight: bold;
              padding-bottom: fh(20vh, pc);
            }

            .item-content {
              font-size: fh(16vh, pc);
              line-height: fh(26vh, pc);
            }
          }
        }
      }
    }

    .row-right {
      display: flex;
      flex: 1;
      margin-left: fw(20vw, pc);
      flex-flow: column;

      .hot-article {
        width: 100%;
        padding: fh(30vh, pc) fw(30vw, pc);
        background-color: $fh90;
        margin-top: 0;

        .article-label {
          color: $zh;
          position: relative;
          display: inline-block;
          font-size: fh(24vh, pc);
          font-weight: 800;
          margin-top: fh(20vh, pc);
          margin-bottom: fh(60vh, pc);

          &::after {
            content: "";
            position: absolute;
            bottom: fh(-16vh, pc);
            right: fw(-12vw, pc);
            width: fw(30vw, pc);
            height: fh(18vh, pc);
            border-right: fw(6vw, pc) solid hsla(14, 74%, 37%, 0.2);
            border-bottom: fw(8vw, pc) solid hsla(14, 74%, 37%, 0.2);
          }
        }

        .article-view {
          color: $sh;

          .article-item {
            width: fw(485vw, pc);
            line-height: fh(26vh, pc);
            margin-bottom: fh(26vh, pc);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;

            span {
              color: $zh;
              font-size: fh(18vh, pc);
              font-weight: bold;
              display: inline-block;
              padding-right: fw(16vw, pc);
            }

            &:hover {
              opacity: 0.8;
              cursor: pointer;
              color: $zh;
            }
          }
        }
      }
    }
  }

  .art-col {
    position: relative;
    width: fw(1180vw, pc);
    margin-top: fh(20vh, pc);

    .art-tab {
      width: 100%;
      display: flex;
      align-items: center;
      margin-bottom: fh(30vh, pc);
      color: $sh;

      .tab-item {
        margin-right: fw(60vw, pc);
        font-size: fh(16vh, pc);
        position: relative;
        line-height: fh(24vh, pc);

        &:hover {
          color: $sh;
          cursor: pointer;
        }

        &.active {
          font-size: fh(20vh, pc);
          font-weight: bold;
          color: $sh;

          &::before {
            content: "";
            position: absolute;
            bottom: fh(-14vh, pc);
            width: 100%;
            border-top: fh(6vh, pc) solid $zh;
          }
        }
      }

      .tab-info {
        margin-left: auto;
        display: flex;
        align-items: center;

        .toggle-img {
          margin-left: fh(62vw, pc);
          margin-right: fh(24vw, pc);
        }

        img {
          width: fw(20vw, pc);
          cursor: pointer;
        }
      }
    }

    .art-view {
      cursor: pointer;

      &.text {
        .art-item {
          width: 100%;
        }

        .item-title {
          color: $sh;
          display: flex;
          width: 100%;

          .item-info {
            padding-left: fw(40vw, pc);
            margin-left: auto;
            width: max-content !important;

            .info-label {
              margin-right: fw(20vw, pc);
              width: max-content !important;
            }

            .info-time {
              width: max-content;
              margin-left: fw(20vw, pc) !important;
            }
          }
        }
      }

      .art-item {
        // break-inside: avoid;
        width: calc((100% - 40px) / 3);
        margin-bottom: fh(20vh, pc);
        background-color: $dh;

        &:hover {
          opacity: 0.9;
        }

        cursor: pointer;

        img {
          width: 100%;
        }

        .art-content {
          width: 100%;
          color: $sh;
          padding: fh(20vh, pc) fw(20vw, pc);
          position: relative;
          z-index: 2;
          background-color: $dh;

          .item-title {
            color: $sh;
            line-height: 130%;
            font-size: fh(16vh, pc);
            margin-bottom: fh(8vh, pc);
            font-weight: 600;
          }

          .item-info {
            display: flex;
            align-items: center;
            width: 100%;
            justify-content: space-between;
            margin-bottom: fh(0vh, pc);
            font-size: fh(14vh, pc);
            line-height: fh(20vh, pc);

            .info-time {
              color: #a1b8bd;
              margin-left: auto;
            }
          }

          .item-content {
            font-size: fh(14vh, pc);
            line-height: fh(20vh, pc);
            font-weight: 400;
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
        }
      }
    }

    .art-more {
      width: max-content;
      margin: fh(40vh, pc) auto;
      color: $sh;
      font-size: fh(14vh, pc);

      &.true:hover {
        cursor: pointer;
        opacity: 0.8;
        color: $zh;
      }

      &.none {
        opacity: 0.5;
      }
    }
  }

  .banner-view {
    margin: 0 auto;
    display: flex;
    width: 92%;
    margin-top: fh(16vh, pc);

    .banner-col {
      position: relative;
      width: 50%;
      overflow: hidden;
      margin-right: fw(20vw, pc);
      background-color: #f6f6f6;
      display: flex;
      align-items: flex-start;
      flex-direction: column;

      > div {
        width: 100%;
        overflow: hidden;
        position: relative;
      }
      .scale-banner-title {
        overflow-wrap: break-word;
        color: white;
        font-size: 19px;
        font-weight: 700;
        text-align: left;
        line-height: 25px;
        position: absolute;
        bottom: 17px;
        left: 15px;
      }
      .banner-big {
        width: 100%;
        display: block;
      }
    }
    .item-title-top {
      overflow-wrap: break-word;
      color: rgba(42, 42, 42, 1);
      font-size: 18px;
      font-weight: 500;
      text-align: left;
      line-height: 27px;
      margin-bottom: 10px;
    }
    .item-title {
      width: 100%;
      // height: fh(68vh, pc);
      bottom: 0;
      color: $sh;
      font-size: fh(18vh, pc);
      line-height: fh(30vh, pc);
      cursor: pointer;

      &:hover {
        opacity: 0.8;
      }
    }

    .item-content {
      flex: 1;
      padding: fw(20vw, pc);

      .more {
        position: absolute;
        bottom: fw(20vw, pc);
        right: fw(20vw, pc);
        font-size: fh(14vh, pc);
        font-weight: 600;
        color: #686a67;
        line-height: fh(20vh, pc);
        cursor: pointer;

        &:hover {
          opacity: 0.8;
        }
      }
    }

    ::v-deep .content-html {
      word-wrap: break-word;
      overflow: hidden;
      height: fh(480vh, pc);
      color: $sh !important;

      strong {
        color: $sh;
      }

      p,
      article,
      section {
        font-size: fh(14vh, pc);
        font-family: "宋体", "songti", "宋体-简", "serif", "sans-serif", "cursive", "fantasy",
          "monospace";
        font-weight: 400;
        color: $sh;
        line-height: fh(24vh, pc) !important;
        margin-top: fh(24vh, pc) !important;
      }

      img,
      img + p,
      img + font,
      p font {
        max-width: 100%;
        display: none;
      }

      strong {
        background-color: rgba(255, 255, 255, 0) !important;
      }

      .html-title {
        font-size: fh(16vh, pc);
        font-weight: bold;
        color: #ffffff;
        line-height: fh(24vh, pc);
      }
    }

    .two-col {
      display: flex;
      align-items: flex-start;
      flex-wrap: wrap;
      flex: 1;
      justify-content: space-between;

      .two-item {
        height: fh(285vh, pc);
        overflow: hidden;
        position: relative;
        width: 100%;
        display: flex;
        align-content: flex-start;
        background-color: #f6f6f6;

        &:nth-last-child(1) {
          margin-top: fh(40vh, pc);
        }

        .scale-view {
          width: fw(280vw, pc);
        }

        img {
          width: 100%; /* 或者其他固定宽度 */
          height: auto;
          object-fit: contain;
          display: block;
        }
      }
    }
  }
}

#character-story.h5 {
  .art-col {
    margin-top: 0;

    .art-view {
      &.text {
        .art-item {
          width: 100%;
        }
      }

      .art-item {
        width: calc(50% - 10px);
        margin-bottom: fw(8vw, h5);

        .art-content {
          padding: fw(8vw, h5) !important;
        }
      }
    }
  }

  .banner-view {
    flex-wrap: wrap;
    .banner-col {
      width: 100%;
      margin-bottom: fh(5vh, h5);
      flex-wrap: wrap;
      height: auto !important;

      .content-html {
        height: fh(288vh, pc);
      }

      > div {
        width: 100%;
      }

      .item-content {
        padding: fh(20vh, h5) fw(10vw, h5);
        padding-bottom: fh(40vh, h5);

        .item-title {
          padding: 0;
        }

        .more {
          bottom: fh(12vh, h5);
          right: fw(10vw, h5);
        }
      }

      .banner-big {
        width: 100%;
        height: auto !important;
      }
    }

    .two-col {
      width: 100%;

      .two-item {
        width: 100%;
        margin-top: fh(20vh, h5);
        height: auto;

        .scale-view {
          width: 50%;

          .banner-big {
            width: 100%;
          }
        }

        .item-title {
          color: $sh;
          width: 100%;
          padding: fw(4vw, h5) fw(4vw, h5) !important;
          height: max-content;
          line-height: fh(20vh, h5);
          font-size: fh(14vh, h5);
        }
      }
    }
  }
}
</style>
